import request from "@/utils/request";

export const artGetChannelsService = () => {
    return request.get('/my/cate/list')
}

// 添加文章分类
export const artAddChannelService = (data) => request.post('/my/cate/add', data)
// 编辑文章分类
export const artEditChannelService = (data) =>
    request.put('/my/cate/info', data)

// 分类：删除文章分类
export const artDelChannelService = (id) =>
    request.delete('/my/cate/del', {
        params: {
            id
        }
    })